package org.dromara.netbar.config;

import org.dromara.netbar.util.BkdUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ZhouWenTao
 * @create 2025-08-06 21:02
 */
@Configuration
public class NetbarConfig {
    @Value("${bkd.url}")
    private String bkdUrl;

    @Bean
    public Object initBkd() {
        BkdUtils.setBkdUrl(bkdUrl);
        return new Object();
    }
}
